package com.xlh.pojo.statistic;

import java.io.Serializable;
import java.util.Date;

public class StatisticStudentExam implements Serializable {
    private Long id;

    /**
     * 课程id
     *
     * @mbg.generated
     */
    private Long courseId;

    /**
     * 班级id
     *
     * @mbg.generated
     */
    private Long classId;

    /**
     * 学生id
     *
     * @mbg.generated
     */
    private Long userId;

    /**
     * 考试id
     *
     * @mbg.generated
     */
    private Long examId;

    /**
     * 用户姓名
     *
     * @mbg.generated
     */
    private String userName;

    /**
     * 学号
     *
     * @mbg.generated
     */
    private String userNumber;

    /**
     * 考试名称
     *
     * @mbg.generated
     */
    private String name;

    /**
     * 考试分数
     *
     * @mbg.generated
     */
    private Integer score;

    /**
     * 是否及格 0：未及格 1：已及格
     *
     * @mbg.generated
     */
    private Boolean isPassed;

    /**
     * 考试时间
     *
     * @mbg.generated
     */
    private Date examTime;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getExamId() {
        return examId;
    }

    public void setExamId(Long examId) {
        this.examId = examId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserNumber() {
        return userNumber;
    }

    public void setUserNumber(String userNumber) {
        this.userNumber = userNumber;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public Boolean getIsPassed() {
        return isPassed;
    }

    public void setIsPassed(Boolean isPassed) {
        this.isPassed = isPassed;
    }

    public Date getExamTime() {
        return examTime;
    }

    public void setExamTime(Date examTime) {
        this.examTime = examTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", courseId=").append(courseId);
        sb.append(", classId=").append(classId);
        sb.append(", userId=").append(userId);
        sb.append(", examId=").append(examId);
        sb.append(", userName=").append(userName);
        sb.append(", userNumber=").append(userNumber);
        sb.append(", name=").append(name);
        sb.append(", score=").append(score);
        sb.append(", isPassed=").append(isPassed);
        sb.append(", examTime=").append(examTime);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}